#include "loopthread.h"
#include "../11-util/02-log_manager/logmanager.h"

LoopThread::LoopThread() {}

static  QString TAG = "LoopThread";

void LoopThread::run() {
    exec();
}

void LoopThread::onHello(){
    QString info = "current threadid is %1";
    LogManager::debug("LoopThread","onHello",info.arg(QString::number((long long)QThread::currentThreadId())));
    emit greet();
}

LoopThread::~LoopThread() {
    LogManager::debug(TAG,"Release");
}
